<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h3><%=info%>成功</h3>
    <p>将在<i style="font-style: normal;">3</i>秒后跳转到<a href="/">首页</a></p>
    <script>
        let time = 3;
        setInterval(() => {
            time--;
            document.querySelector('i').innerText = time;
        }, 1000);

        setTimeout(() => {
            // 将地址栏地址写成 /
            window.location.href = '/';
        }, 3000);
    </script>
</body>
</html>